<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-2 control-label">标题：</label>
								<div class="col-sm-9">
									<input id="title" name="title" class="form-control" type="text">
								</div>
							</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">标签：</label>
									<div class="col-sm-4">
										<input id="tagIds" name="tagIds" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">作者：</label>
									<div class="col-sm-3">
										<input id="writer" name="writer" class="form-control" type="text">
									</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">所属菜单：</label>
								<div class="col-sm-4">
									<input id="menuId" name="menuId" class="form-control" type="text">
								</div>
								<label class="col-sm-2 control-label">文章类型：</label>
								<div class="col-sm-3">
									<select data-placeholder="--选择类别--" name="articleType" id="articleType"
											class="form-control chosen-select" tabindex="2" required>
										<option value="">--选择文章类型--</option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">资源</label>
								<div class="col-sm-4">
									<input id="resourceId" name="resourceId" class="form-control" type="text">
								</div>
								<label class="col-sm-2 control-label">是否隐藏：</label>
								<div class="col-sm-3">
									<div class="onoffswitch">
										<input id="hideFlag" name="hideFlag" type="checkbox"  value="1" class="onoffswitch-checkbox" >
										<label class="onoffswitch-label" for="hideFlag">
											<span class="onoffswitch-inner"></span>
											<span class="onoffswitch-switch"></span>
										</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">资源数量:</label>
								<div class="col-sm-4">
									<input id="resourcrNum" name="resourcrNum" class="form-control" type="text">
								</div>
								<label class="col-sm-2 control-label">剩余资源数量：</label>
								<div class="col-sm-3">
									<input id="excessResourcrNum" name="excessResourcrNum" class="form-control" type="text">
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-2 control-label">是否下架：</label>
								<div class="col-sm-9">
									<div class="onoffswitch">
										<input id="enableFlag" name="enableFlag" type="checkbox"  value="1" class="onoffswitch-checkbox" >
										<label class="onoffswitch-label" for="enableFlag">
											<span class="onoffswitch-inner"></span>
											<span class="onoffswitch-switch"></span>
										</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">下架理由：</label>
								<div class="col-sm-9">

									<textarea id="disenableReason" name="disenableReason" class="form-control" ></textarea>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">文章内容：</label>
								<div class="col-sm-9">
									<div class="ibox-content no-padding">
										<input id="content" name="content" type="hidden">
										<div id="content_sn" class="summernote"></div>
									</div>
							</div>

								<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/dj/article/add.js">
	</script>
</body>
</html>
